import request from '@/utils/request'

 // https://api.wuliuren.com/api/airlines
export function getAirlinesList() {
    return request({
        url: '/airlines',
        method: 'get'
    })
}

 // https://api.wuliuren.com/api/airlines
 export function addAirlines(data) {
  return request({
      url: '/airlines',
      method: 'post',
      data: data
  })
}

 // https://api.wuliuren.com/api/airlines
export function updateAirlines(data) {
  return request({
      url: '/airlines/' + data.id,
      method: 'put',
      data: data
  })
}

 // https://api.wuliuren.com/api/airlines
export function deleteAirlines(data) {
  return request({
      url: '/airlines/' + data.id,
      method: 'delete'
  })
}


// https://api.wuliuren.com/api/activity-logs
export function getActivityLogsList() {
  return request({
      url: '/activity-logs',
      method: 'get'
  })
}
